package install.ren.exercise.test.aop;

import org.springframework.instrument.classloading.InstrumentationLoadTimeWeaver;

import java.lang.instrument.ClassFileTransformer;

/**
 * @author jonny
 * Created on 2021/8/29
 */
public class ExtInstrumentationLoadTimeWeaver extends InstrumentationLoadTimeWeaver {
    @Override
    public void addTransformer(ClassFileTransformer transformer) {
        try {
            super.addTransformer(transformer);
        } catch (Exception e) {
            //e.printStackTrace();

        }
    }
}
